<?PHP
//killing the login session and going back to the main page.
session_unset();
header("Location: http://".$_SERVER['HTTP_HOST']."/index.php");
?>
